home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1995 November
/
EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso
/
earcd
/
program
/
gcc
/
gcc270-d.lha
/
gnu
/
man
/
cat3
/
fputs.0
< prev
next >
Wrap
Text File
|
1992-08-10
|
1KB
|
67 lines
FPUTS(3) UNIX Programmer's Manual FPUTS(3)
NNAAMMEE
ffppuuttss, ppuuttss - output a line to a stream
SSYYNNOOPPSSIISS
##iinncclluuddee <<ssttddiioo..hh>>
_i_n_t
ffppuuttss(_c_o_n_s_t _c_h_a_r _*_s_t_r, _F_I_L_E _*_s_t_r_e_a_m)
_i_n_t
ppuuttss(_c_o_n_s_t _c_h_a_r _*_s_t_r)
DDEESSCCRRIIPPTTIIOONN
The function ffppuuttss() writes the string pointed to by _s_t_r to the stream
pointed to by _s_t_r_e_a_m.
The function ppuuttss() writes the string _s_t_r, and a terminating newline
character, to the stream _s_t_d_o_u_t.
RREETTUURRNN VVAALLUUEESS
The ffppuuttss() function returns 0 on success and EOF on error; ppuuttss() re
turns a nonnegative integer on success and EOF on error.
EERRRROORRSS
[EBADF] The _s_t_r_e_a_m supplied is not a writable stream.
The functions ffppuuttss() and ppuuttss() may also fail and set _e_r_r_n_o for any of
the errors specified for the routines write(2).
SSEEEE AALLSSOO
putc(3), ferror(3), stdio(3)
SSTTAANNDDAARRDDSS
The functions ffppuuttss() and ppuuttss() conform to ANSI C3.1591989 (``ANSI
C'').
BSD Experimental June 29, 1991 1